// pages/login/login.js
Page({
  data: {
    userinfo: {}
  },


  onLoad: function (options) {

  },
  handleuserinfo(e) {
    const { userInfo } = e.detail
    wx.setStorageSync('userinfo', userInfo);
    this.setData({
      userinfo: userInfo
    })
    wx.navigateBack({
      delta: 1
    });
  }

})